package com.hdu.mockService.annotation;

import com.hdu.mockService.enums.CharType;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface RandomList {
    int minSize() default -1;

    int maxSize() default -1;

    int fixedSize() default -1;

    int strFixedLen() default -1;

    int strMinLen() default -1;

    int strMaxLen() default -1;

    CharType[] charTypes() default {CharType.NUMBER, CharType.LOWER_CASE, CharType.UPPER_CASE};

    int intMin() default Integer.MIN_VALUE;

    int intMax() default Integer.MAX_VALUE;

    long longMin() default Long.MIN_VALUE;

    long longMax() default Long.MAX_VALUE;

    double doubleMin() default Double.MIN_VALUE;

    double doubleMax() default Double.MAX_VALUE;
}
